#自动拍照上传百度云盘的bash命令

raspistill -o /media/pi/nas/motion-images/today/`date +%Y%m%d%H%M%S`.jpeg -w 800 -h 600 -t 1 -n -v
bypy upload /media/pi/nas/motion-images/today/*.jpeg `date +%Y-%m-%d`/ -v >> /home/pi/camera/log/`date +%Y%m%d`.log
rm /media/pi/nas/motion-images/today/*.jpeg -v >> /home/pi/camera/log/`date +%Y%m%d`.log

